package cn.xu.liteflow.components;

import com.yomahub.liteflow.core.NodeForComponent;
import org.springframework.stereotype.Component;

/**
 * @Author xuguofei clark2021@qq.com || WX clark_2023
 * @Date 2024/3/5
 * @Desc 次数循环组件
 **/
@Component("f")
public class FCmp extends NodeForComponent {

    @Override
    public int processFor() throws Exception {
        //这里根据业务去返回for的结果
//        this.getLoopIndex()
        return 2;
    }
}
